package com.management.commons.exception.ExceptionCode;

public enum  DefectSeverityExceptionCode {
    ADDSEVERITY_ERROR(4001,"新增失败"),
    SEVERITYSTATE_ERROR(4002,"已关闭，暂不支持修改"),
    CHANGESEVERITY_ERROR(4003,"修改失败"),
    CHANGESEVERITY2_ERROR(4004,"请勿提交相同严重程度"),
    SEVERITYDESC_EXISTS_ERROR(4005,"该严重程度已存在，请重新输入"),
    DELSEVERITY_ERROR(4006,"删除失败");
    private Integer code;
    private String message;
    DefectSeverityExceptionCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
